package com.arx.graphics;

public class EERIELinkedObj {
	/** the singleton instance. */
	private static EERIELinkedObj	instance;
	/**
	 * Gets the one and only instance of {@link EERIELinkedObj}.
	 * @return {@link EERIELinkedObj}
	 */
	public static EERIELinkedObj getInstance() {
		return EERIELinkedObj.instance;
	}
	/**
	 * Unlinks one object from another. Used to determine the graphics used for
	 * displaying ???
	 * @param obj
	 * @param tounlink
	 */
	public void EERIE_LINKEDOBJ_UnLinkObjectFromObject(final EERIE_3DOBJ obj,
			final EERIE_3DOBJ tounlink) {
		if (obj != null
				&& tounlink != null) {
			/*
			 * for (long k = 0; k < obj->nblinked; k++) { if
			 * (obj->linked[k].lgroup != -1) { if (obj->linked[k].obj ==
			 * tounlink) { for (long i = 0; i < tounlink->nbvertex; i++) {
			 * tounlink->vertexlist[i].vert.sx = tounlink->vertexlist[i].v.x;
			 * tounlink->vertexlist[i].vert.sy = tounlink->vertexlist[i].v.y;
			 * tounlink->vertexlist[i].vert.sz = tounlink->vertexlist[i].v.z; }
			 * EERIE_LINKEDOBJ_Remove(obj, k); return; } } }
			 */
		}
	}
}
